home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 16 / AMIGAplus Sonderheft 16 (1998)(ICP)(DE)[!].iso / pd / anwendungen / ispell-3.1.18bin / interfaces / guispell-1.1 / minrexx.h < prev    next >
C/C++ Source or Header  |  1995-09-21  |  2KB  |  47 lines

  1. /*
  2.  *   Includes for minrexx.c; please refer to that file for
  3.  *   further documentation.
  4.  */
  5. #include <rexx/rxslib.h>
  6.  
  7. /*
  8.  *   Although not declared in minrexx.c, these prototype/pragmas are
  9.  *   listed here because they aren't listed in any standard includes!
  10.  */
  11. struct RexxMsg * CreateRexxMsg(struct MsgPort *, char *, char *);
  12. #pragma libcall RexxSysBase CreateRexxMsg 90 9803
  13. void DeleteRexxMsg(struct RexxMsg *);
  14. #pragma libcall RexxSysBase DeleteRexxMsg 96 801
  15. char * CreateArgstring(char *, int);
  16. #pragma libcall RexxSysBase CreateArgstring 7E 802
  17. void DeleteArgstring(char *);
  18. #pragma libcall RexxSysBase DeleteArgstring 84 801
  19.  
  20. /*
  21.  *   Maximum messages that can be pending, and the return codes
  22.  *   for two bad situations.
  23.  */
  24. #define MAXRXOUTSTANDING (300)
  25. #define RXERRORIMGONE (100)
  26. #define RXERRORNOCMD (30)
  27.  
  28. /*
  29.  *   This is the association list you build up (statically or
  30.  *   dynamically) that should be terminated with an entry with
  31.  *   NULL for the name . . .
  32.  */
  33. struct rexxCommandList 
  34. {
  35.    char *name ;
  36.    void (*userdata)(struct RexxMsg *, char *) ;
  37. };
  38.  
  39. long upRexxPort (char *s, struct rexxCommandList *rcl, char *exten, void(*uf)(struct RexxMsg *, struct rexxCommandList *, char *));
  40. void dnRexxPort (void);
  41. void dispRexxPort (void);
  42. struct RexxMsg *sendRexxCmd (char *s, void (*f)(struct RexxMsg *), STRPTR p1, STRPTR p2, STRPTR p3);
  43. struct RexxMsg *asyncRexxCmd (char *s);
  44. struct RexxMsg *syncRexxCmd (char *s, struct RexxMsg *msg);
  45. void replyRexxCmd (struct RexxMsg *msg, long primary, long secondary, char *string);
  46. struct RexxMsg *sendSimpleCmd (char *s, char *host, void (*f)(struct RexxMsg *), STRPTR p1, STRPTR p2, STRPTR p3);
  47.